//
//  MasterViewController.h
//  Iderun
//
//  Created by Zhou, Shaolin on 6/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UrlRequest.h"
#import "CustomSearchBar.h"
#import <CoreLocation/CoreLocation.h>
#import <CoreLocation/CLLocationManagerDelegate.h>
#import "MapKit/MapKit.h"
#define AUDITLIST 0;
#define UPLOADIMAGE 1;
#define INSERTIMAGEDATA 2;
///TASK_FLAG=1 表示已经审批 TASK_FLAG=0 表示未审批
//和AuditedViewcontroller区别 
//1.[detailViewController  showShenheButton];已经审核的不用显示
//2. self.title显示不同
//3.[requestManager requestToCheckList:1];
@interface photolistViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate,CLLocationManagerDelegate,MKReverseGeocoderDelegate>{
    UrlRequest* requestManager;
    UITableView *_tableView;
    NSMutableArray *resultData;
}
@property (nonatomic,retain)  UITableView *_tableView;
@property (nonatomic,retain)  CLLocationManager *locmanager;
@property(nonatomic, assign) int uploadType;
@property(nonatomic, retain) UIImagePickerController *pickerController;
@property (nonatomic,retain)  NSMutableArray *resultData;

-(IBAction)reflush:(id)sender;
-(void) loadData;
- (UIButton*) customButtom:(NSUInteger)numberOfTag withFrame:(CGRect)frame action:(SEL)action normalImage:(NSString*)normalImage lightedImage:(NSString*)lightedImage  title:(NSString *)title;
-(void) hiddenNavBar:(BOOL) status;
@end
